#include "widget.h"
#include "ui_widget.h"
#include<QIcon>
#include<QLineEdit>
#include<QPixmap>
#include<QCursor>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    QLineEdit* edit = new QLineEdit(this);
    edit->setText("Hello QT!");
    edit->move(320,250);
    ui->pushButton->setCursor(Qt::SizeHorCursor);
    QPixmap pixmap(":/BHDCIHECGBIAC-w0u1DWDwc7.png");
    pixmap = pixmap.scaled(100,100);
    QCursor cursor(pixmap,50,50);
    setCursor(cursor);

}

Widget::~Widget()
{
    delete ui;
}

